import request from '@/utils/request'

//查询用户已绑定或者角色已绑定
export function bindUserOrRole(requestUrl,searchParam) {
  return request({
    url: requestUrl,
    method: 'post',
    data: searchParam
  })
}

//查询用户未绑定或者角色未绑定
export function unBindUserOrRole(requestUrl,searchParam) {
  return request({
    url: requestUrl,
    method: 'post',
    data: searchParam
  })
}

//添加用户或者角色
export function addUserOrRole(requestUrl,param) {
  return request({
    url: requestUrl,
    method: 'post',
    data: param
  })
}


//删除用户或者角色
export function delUserOrRole(requestUrl,param) {
  return request({
    url: requestUrl,
    method: 'post',
    data: param
  })
}




